import { legacy_createStore } from "redux";
import { State, Action } from "./type";
import { reducer } from "./reducer";

export const initState: State = {
  count: 0,
  name: "name",
};

export const store = legacy_createStore<State, Action>(reducer, initState);


